module.exports = {
  presets: [
    [
      "@vue/cli-plugin-babel/preset",
      {
        useBuiltIns: "usage",
        polyfills: [
          "es.object.assign",
          "es.object.values",
          "es.object.entries",
          "es.array.iterator",
          "es.array.from",
          "es.array.find",
          "es.array.find-index",
          "es.array.includes",
          "es.promise",
          "es.promise.finally",
          "es.symbol",
          "es.map",
          "es.set"
        ]
      }
    ]
  ],
  plugins: [
    [
      "import",
      { libraryName: "ant-design-vue", libraryDirectory: "es", style: true }
    ]
  ]
};
